package cn.tedu.egmaybaits2.mapper;

import cn.tedu.egmaybaits2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    int updateProduct(Product product);
    int deleteProductById(Integer id);
    Product selectProductById(Integer id);
    List<Product> selectAllProduct();
}
